package com.hxzy.driver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 司机禁闭表（禁止接单）
 * @TableName tb_driver_lockdown
 */
@TableName(value ="tb_driver_lockdown")
@Data
public class DriverLockdown implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 司机ID
     */
    private Long driverId;

    /**
     * 原因
     */
    private String reason;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 起始日期
     */
    private Date startDate;

    /**
     * 结束日期
     */
    private Date endDate;

    /**
     * 天数
     */
    private Integer days;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}